package com.evony.common.module.common 
{
    import com.evony.common.*;
    
    public class GetRelationshipRespone extends com.evony.common.BaseBean
    {
        public function GetRelationshipRespone(arg1:String, arg2:Object, arg3:Boolean=false, arg4:Boolean=false)
        {
            var loc1:*=0;
            super(arg1, arg3, arg4);
            if (arg2.allianceRelation != null) 
            {
                this.allianceRelation = arg2.allianceRelation;
            }
            if (arg2.declaredWarStatus != null) 
            {
                this.declaredWarStatus = arg2.declaredWarStatus;
            }
            if (arg2.errorMsg != null) 
            {
                this.errorMsg = arg2.errorMsg;
            }
            if (arg2.msg != null) 
            {
                this.msg = arg2.msg;
            }
            if (arg2.ok != null) 
            {
                this.ok = arg2.ok;
            }
            if (arg2.packageId != null) 
            {
                this.packageId = arg2.packageId;
            }
            if (arg2.canDeclaredWar != null) 
            {
                this.canDeclaredWar = arg2.canDeclaredWar;
            }
            if (arg2.freshman != null) 
            {
                this.freshman = arg2.freshman;
            }
            return;
        }

        public function toObject():Object
        {
            var loc1:*=new Object();
            loc1.allianceRelation = this.allianceRelation;
            loc1.declaredWarStatus = this.declaredWarStatus;
            loc1.errorMsg = this.errorMsg;
            loc1.msg = this.msg;
            loc1.ok = this.ok;
            loc1.packageId = this.packageId;
            loc1.canDeclaredWar = this.canDeclaredWar;
            loc1.freshman = this.freshman;
            return loc1;
        }

        public override function toDebugString(arg1:String=""):String
        {
            var loc1:*=0;
            var loc2:*="---- GetRelationshipRespone ----\n";
            loc2 = loc2 + (arg1 + "allianceRelation = " + this.allianceRelation + "\n");
            loc2 = loc2 + (arg1 + "declaredWarStatus = " + this.declaredWarStatus + "\n");
            loc2 = loc2 + (arg1 + "errorMsg = " + this.errorMsg + "\n");
            loc2 = loc2 + (arg1 + "msg = " + this.msg + "\n");
            loc2 = loc2 + (arg1 + "ok = " + this.ok + "\n");
            loc2 = loc2 + (arg1 + "packageId = " + this.packageId + "\n");
            loc2 = loc2 + (arg1 + "canDeclaredWar = " + this.canDeclaredWar + "\n");
            loc2 = loc2 + (arg1 + "freshman = " + this.freshman + "\n");
            return loc2;
        }

        public function copyTo(arg1:com.evony.common.module.common.GetRelationshipRespone):void
        {
            arg1.allianceRelation = this.allianceRelation;
            arg1.declaredWarStatus = this.declaredWarStatus;
            arg1.errorMsg = this.errorMsg;
            arg1.msg = this.msg;
            arg1.ok = this.ok;
            arg1.packageId = this.packageId;
            arg1.canDeclaredWar = this.canDeclaredWar;
            arg1.freshman = this.freshman;
            return;
        }

        public var declaredWarStatus:int;

        public var msg:String;

        public var packageId:Number;

        public var freshman:Boolean;

        public var allianceRelation:int;

        public var errorMsg:String;

        public var ok:int;

        public var canDeclaredWar:Boolean;
    }
}
